package net.wanho.service;

import net.wanho.dto.PurchasDTO;
import net.wanho.vo.AjaxResult;
import net.wanho.vo.PageInfo;

public interface PurchasService {
    /**
     * 采购单分页列表
     */
    AjaxResult purchasePageList(Integer pageNum, Integer pageSize, PurchasDTO purchasDTO);

    /**
     * 添加采购单
     */
    AjaxResult addPurchase(PurchasDTO purchasDTO);

    /**
     * 修改采购单
     */
    AjaxResult updatePurchase(PurchasDTO purchasDTO);

    /**
     * 删除采购单
     */
    AjaxResult deletePurchase(Integer id);

    /**
     * 生成入库单
     */
    AjaxResult generateInStore(PurchasDTO purchasDTO);

    /**
     * 导出采购单数据
     */
    AjaxResult exportPurchase(PurchasDTO purchasDTO);
}
